package cn.have;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName OrderHystrixMain80
 * @Author 王新
 * @Date: 2022/1/25 0:26 星期二
 * @Version 1.0
 * @Description
 */
@SpringBootApplication
@EnableFeignClients
@EnableHystrix//以消费者身份启用，服务降级，调用其他服务
public class OrderHystrixMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OrderHystrixMain80.class, args);
    }
}
